import React from 'react';
import { Tabs } from 'antd';
import { FolderOpenOutlined, CloudUploadOutlined } from '@ant-design/icons';
import ArticleComponents from '@/components/CultPopMan/ArticleComponents';
import ArtcleManaComponent from '@/components/CultPopMan/ArtcleManaComponent';

// 文化科普专区管理
function CultPopMan() {
    const items = [
        {
            key: '1',
            label: '管理',
            children: <ArtcleManaComponent />,
            icon: <FolderOpenOutlined />,
        },
        {
            key: '2',
            label: '发布',
            children: <ArticleComponents />,
            icon: <CloudUploadOutlined />,
        },
    ];
    return <Tabs defaultActiveKey="1" items={items} />;
}

export default CultPopMan;
